
<%@ page import="nbcondominios.Periodos" %>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <meta name="layout" content="main" />
  <g:set var="entityName" value="${message(code: 'periodos.label', default: 'Periodos')}" />
  <title><g:message code="default.list.label" args="[entityName]" /></title>
</head>
<body>
<div class="body">
  <h1><g:message code="default.list.label" args="[entityName]" /></h1>
  <g:if test="${flash.message}">
        <div class="message">${flash.message}</div>
</g:if>
<div class="list">
  <table>
    <thead>
      <tr>

    <g:sortableColumn property="id" title="${message(code: 'periodos.id.label', default: 'Id')}" />
      
    <g:sortableColumn property="anno" title="${message(code: 'periodos.anno.label', default: 'Anno')}" />
      
    <g:sortableColumn property="mes" title="${message(code: 'periodos.mes.label', default: 'Mes')}" />
      
    <g:sortableColumn property="periodo" title="${message(code: 'periodos.periodo.label', default: 'Periodo')}" />
      
    <g:sortableColumn property="descripcion" title="${message(code: 'periodos.descripcion.label', default: 'Descripcion')}" />
      
    <g:sortableColumn property="dateCreated" title="${message(code: 'periodos.dateCreated.label', default: 'Date Created')}" />
      
    </tr>
    </thead>
    <tbody>
    <g:each in="${periodosInstanceList}" status="i" var="periodosInstance">
      <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">

          <td><g:link action="show" id="${periodosInstance.id}">${fieldValue(bean: periodosInstance, field: "id")}</g:link></td>
    
      <td>${fieldValue(bean: periodosInstance, field: "anno")}</td>
      
      <td>${fieldValue(bean: periodosInstance, field: "mes")}</td>
      
      <td>${fieldValue(bean: periodosInstance, field: "periodo")}</td>
      
      <td>${fieldValue(bean: periodosInstance, field: "descripcion")}</td>
      
      <td><g:formatDate date="${periodosInstance.dateCreated}" /></td>
      
      </tr>
    </g:each>
    </tbody>
  </table>
</div>
<div class="paginateButtons">
  <g:paginate total="${periodosInstanceTotal}" />
</div>
</div>
</body>
</html>
